package wx.event.impl.text;

import wx.event.entity.weixing.WxEventRequest;
import wx.event.impl.core.BaseImpl;
import wx.event.impl.core.Process;
import wx.event.utils.ResponseUtil;

/**
 * 处理接收到文本消息
 */
public class ProcessText extends BaseImpl implements Process {
    //收到微信服务器数据
    private WxEventRequest wxEventRequest;
    public ProcessText(WxEventRequest _wxEventRequest){
        this.wxEventRequest = _wxEventRequest;
    }
    @Override
    public String processEvent() {
        return ResponseUtil.respTextMessage(wxEventRequest, "接收到文本消息");
    }
}
